package com.hsylient.spring.mapper;

import com.hsylient.spring.entity.User;

import java.math.BigDecimal;

public class UserMapper {

    public User getUserInfo() {
        User user = new User();
        user.setId(1001);
        user.setAge(18);
        user.setName("hsylient");
        user.setSalary(BigDecimal.valueOf(1000));
        return user;
    }
}
